package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/14.
 */
@Entity
public class CoalMoneyCalc implements Serializable {

    private static final long serialVersionUID = 7764580141635601509L;
    //结算的平均价格，只为科前端显示而设置
    @Transient
    private Float avgPrice;

    // 结算类型 0 没有化验指标的结算 1 关联化验指标的结算
    @Transient
    public static final Integer CALCTYPE_NOTEST = 0;
    @Transient
    public static final Integer CALCTYPE_ISTEST = 1;
    //1销售 2采购
    public static final Integer TYPE_CG = 1;
    @Transient
    public static final Integer TYPE_XS = 2;
    //支付状态 0 未支付 1已经支付
    @Transient
    public static final Integer PAY_STATUS_YZF = 1;
    @Transient
    public static final Integer PAY_STATUS_WZF = 0;
    @Id
    private long id;
    @Property
    private Integer contractid;
    @Property
    private Integer calctype;
    @Property
    private Integer type;
    @Property
    private Integer paystatus;
    @Property
    private Integer status;
    @Property
    private String number;
    @Property
    private String contractnumber;
    @Property
    private Integer settlementtype;
    @Property
    private Float sendweight;
    @Property
    private Float receviedweight;
    @Property
    private Float lossweight;
    @Property
    private Float deductedwaterweight;
    @Property
    private Float calcweight;
    @Property
    private Integer calccars;
    @Property
    private Double calcweighttype;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    @Property
    private Date addtime;
    @Property
    private Integer isaudit;
    @Property
    private Integer audituserid;
    @Property
    private String auditusername;
    @Property
    private Date audittime;
    @Property
    private Integer istax;
    @Property
    private Float taxrate;
    @Property
    private Float taxmoney;
    @Property
    private Float calcmoney;
    @Property
    private Float truepaymoney;
    @Property
    private String coaltype;
    @Property
    private Integer coaltypeid;
    @Property
    private String salecompany;
    @Property
    private Integer salecompanyid;
    @Property
    private String buycompany;
    @Property
    private Integer buycompanyid;
    @Property
    private String remark;
    @Property
    private Integer isis;
    public Integer getIsis() {
        return this.isis;
    }
    public void setIsis(Integer isis) {
        this.isis = isis;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getBuycompanyid() {
        return this.buycompanyid;
    }
    public void setBuycompanyid(Integer buycompanyid) {
        this.buycompanyid = buycompanyid;
    }
    public String getBuycompany() {
        return this.buycompany;
    }
    public void setBuycompany(String buycompany) {
        this.buycompany = buycompany;
    }
    public Integer getSalecompanyid() {
        return this.salecompanyid;
    }
    public void setSalecompanyid(Integer salecompanyid) {
        this.salecompanyid = salecompanyid;
    }
    public String getSalecompany() {
        return this.salecompany;
    }
    public void setSalecompany(String salecompany) {
        this.salecompany = salecompany;
    }
    public Integer getCoaltypeid() {
        return this.coaltypeid;
    }
    public void setCoaltypeid(Integer coaltypeid) {
        this.coaltypeid = coaltypeid;
    }
    public String getCoaltype() {
        return this.coaltype;
    }
    public void setCoaltype(String coaltype) {
        this.coaltype = coaltype;
    }
    public Float getTruepaymoney() {
        return this.truepaymoney;
    }
    public void setTruepaymoney(Float truepaymoney) {
        this.truepaymoney = truepaymoney;
    }
    public Float getCalcmoney() {
        return this.calcmoney;
    }
    public void setCalcmoney(Float calcmoney) {
        this.calcmoney = calcmoney;
    }
    public Float getTaxmoney() {
        return this.taxmoney;
    }
    public void setTaxmoney(Float taxmoney) {
        this.taxmoney = taxmoney;
    }
    public Float getTaxrate() {
        return this.taxrate;
    }
    public void setTaxrate(Float taxrate) {
        this.taxrate = taxrate;
    }
    public Integer getIstax() {
        return this.istax;
    }
    public void setIstax(Integer istax) {
        this.istax = istax;
    }
    public Date getAudittime() {
        return this.audittime;
    }
    public void setAudittime(Date audittime) {
        this.audittime = audittime;
    }
    public String getAuditusername() {
        return this.auditusername;
    }
    public void setAuditusername(String auditusername) {
        this.auditusername = auditusername;
    }
    public Integer getAudituserid() {
        return this.audituserid;
    }
    public void setAudituserid(Integer audituserid) {
        this.audituserid = audituserid;
    }
    public Integer getIsaudit() {
        return this.isaudit;
    }
    public void setIsaudit(Integer isaudit) {
        this.isaudit = isaudit;
    }
    public Date getAddtime() {
        return this.addtime;
    }
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
    public String getAddusername() {
        return this.addusername;
    }
    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }
    public Integer getAdduserid() {
        return this.adduserid;
    }
    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }
    public Double getCalcweighttype() {
        return this.calcweighttype;
    }
    public void setCalcweighttype(Double calcweighttype) {
        this.calcweighttype = calcweighttype;
    }
    public Integer getCalccars() {
        return this.calccars;
    }
    public void setCalccars(Integer calccars) {
        this.calccars = calccars;
    }
    public Float getCalcweight() {
        return this.calcweight;
    }
    public void setCalcweight(Float calcweight) {
        this.calcweight = calcweight;
    }
    public Float getDeductedwaterweight() {
        return this.deductedwaterweight;
    }
    public void setDeductedwaterweight(Float deductedwaterweight) {
        this.deductedwaterweight = deductedwaterweight;
    }
    public Float getLossweight() {
        return this.lossweight;
    }
    public void setLossweight(Float lossweight) {
        this.lossweight = lossweight;
    }
    public Float getReceviedweight() {
        return this.receviedweight;
    }
    public void setReceviedweight(Float receviedweight) {
        this.receviedweight = receviedweight;
    }
    public Float getSendweight() {
        return this.sendweight;
    }
    public void setSendweight(Float sendweight) {
        this.sendweight = sendweight;
    }
    public Integer getSettlementtype() {
        return this.settlementtype;
    }
    public void setSettlementtype(Integer settlementtype) {
        this.settlementtype = settlementtype;
    }
    public String getContractnumber() {
        return this.contractnumber;
    }
    public void setContractnumber(String contractnumber) {
        this.contractnumber = contractnumber;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getPaystatus() {
        return this.paystatus;
    }
    public void setPaystatus(Integer paystatus) {
        this.paystatus = paystatus;
    }
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getCalctype() {
        return this.calctype;
    }
    public void setCalctype(Integer calctype) {
        this.calctype = calctype;
    }
    public Integer getContractid() {
        return this.contractid;
    }
    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 410489529)
    public CoalMoneyCalc(long id, Integer contractid, Integer calctype,
            Integer type, Integer paystatus, Integer status, String number,
            String contractnumber, Integer settlementtype, Float sendweight,
            Float receviedweight, Float lossweight, Float deductedwaterweight,
            Float calcweight, Integer calccars, Double calcweighttype,
            Integer adduserid, String addusername, Date addtime, Integer isaudit,
            Integer audituserid, String auditusername, Date audittime,
            Integer istax, Float taxrate, Float taxmoney, Float calcmoney,
            Float truepaymoney, String coaltype, Integer coaltypeid,
            String salecompany, Integer salecompanyid, String buycompany,
            Integer buycompanyid, String remark, Integer isis) {
        this.id = id;
        this.contractid = contractid;
        this.calctype = calctype;
        this.type = type;
        this.paystatus = paystatus;
        this.status = status;
        this.number = number;
        this.contractnumber = contractnumber;
        this.settlementtype = settlementtype;
        this.sendweight = sendweight;
        this.receviedweight = receviedweight;
        this.lossweight = lossweight;
        this.deductedwaterweight = deductedwaterweight;
        this.calcweight = calcweight;
        this.calccars = calccars;
        this.calcweighttype = calcweighttype;
        this.adduserid = adduserid;
        this.addusername = addusername;
        this.addtime = addtime;
        this.isaudit = isaudit;
        this.audituserid = audituserid;
        this.auditusername = auditusername;
        this.audittime = audittime;
        this.istax = istax;
        this.taxrate = taxrate;
        this.taxmoney = taxmoney;
        this.calcmoney = calcmoney;
        this.truepaymoney = truepaymoney;
        this.coaltype = coaltype;
        this.coaltypeid = coaltypeid;
        this.salecompany = salecompany;
        this.salecompanyid = salecompanyid;
        this.buycompany = buycompany;
        this.buycompanyid = buycompanyid;
        this.remark = remark;
        this.isis = isis;
    }
    @Generated(hash = 749327984)
    public CoalMoneyCalc() {
    }

}
